unit untUsuario;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, Buttons, ExtCtrls;

type
  TLogin = class(TForm)
    edtLogin: TEdit;
    edtSenha: TEdit;
    btnComfirmar: TSpeedButton;
    btnCancelar: TSpeedButton;
    Label1: TLabel;
    Label2: TLabel;
    d: TPanel;
    procedure btnCancelarClick(Sender: TObject);
    procedure btnComfirmarClick(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Login: TLogin;

implementation

uses untPrincipal;

{$R *.dfm}

procedure TLogin.btnCancelarClick(Sender: TObject);
begin
close;
end;

procedure TLogin.btnComfirmarClick(Sender: TObject);
begin


frmPrincipal.ShowModal;
end;

end.
